package sg.edu.nus.iss.vmcs.util;

/*
 * Copyright 2011 ISS.
 * The contents contained in this document may not be reproduced in any
 * form or by any means, without the written permission of ISS, other
 * than for the purpose for which it has been supplied.
 *
 */

/**
 * This class enables to define the VMCS Exception. It inherits from Exception
 * class.
 *
 * @version 1.0  09/12/2011
 * @author Team 7S - SE19
 */

public class VMCSException extends Exception {

/**
 * This constructor creates a new instance for VMCSException.
 */	
  public VMCSException() {
  }

 /**
  * This constructor creates a new instance for VMCSException
  * with parameters
  * @param location Location
  * @param msg Exception Message
  */ 
  public VMCSException(String location, String msg){
    super (location + " :" + msg);
  }

 /**
  * This constructor creates a new instance for VMCSException
  * with reference to the VMCSException 
  * @param e Reference to VMCSException object 
  */ 

  public  VMCSException (VMCSException e){
    super(e.getMessage());
  }
}